import axios from "axios"
const instance = axios.create({
    baseURL:'',
    timeout:30000,
    // withCredentials:true,
    // headers:{
    //     token:localStorage.getItem('token')
    // }
});
instance.interceptors.request.use((config)=>{
    return config
})
instance.interceptors.response.use((res) =>{
    console.log('axios请求成功1',res)
    // console.log('axios请求成功2',res.data)
    return res;
})
export default instance;